package com.avery.entity;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer uid;
	private String username;
	private String email;
	private String password;
	private Integer age;
	private Integer sex;
	private Integer educationlevel;
	private Integer birthplace;
	private Integer localplace;
	private Integer identity;
	private Integer isactive;

	// Constructors

	/** default constructor */
	public User() {
		
	}

	/** full constructor */
	public User(String username, String email, String password, Integer age,
			Integer sex, Integer educationlevel, Integer birthplace,
			Integer localplace, Integer identity, Integer isactive) {
		this.username = username;
		this.email = email;
		this.password = password;
		this.age = age;
		this.sex = sex;
		this.educationlevel = educationlevel;
		this.birthplace = birthplace;
		this.localplace = localplace;
		this.identity = identity;
		this.isactive = isactive;
	}

	// Property accessors

	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getAge() {
		return this.age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Integer getSex() {
		return this.sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Integer getEducationlevel() {
		return this.educationlevel;
	}

	public void setEducationlevel(Integer educationlevel) {
		this.educationlevel = educationlevel;
	}

	public Integer getBirthplace() {
		return this.birthplace;
	}

	public void setBirthplace(Integer birthplace) {
		this.birthplace = birthplace;
	}

	public Integer getLocalplace() {
		return this.localplace;
	}

	public void setLocalplace(Integer localplace) {
		this.localplace = localplace;
	}

	public Integer getIdentity() {
		return this.identity;
	}

	public void setIdentity(Integer identity) {
		this.identity = identity;
	}

	public Integer getIsactive() {
		return this.isactive;
	}

	public void setIsactive(Integer isactive) {
		this.isactive = isactive;
	}

}